package com.gouqi.mall.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author xiaofei
 * @date:2020-04-25
 * @description:相关企业信息
 */
@ApiModel(value = "相关从业公司信息")
public class Enterprise extends ValueObject{
    @ApiModelProperty(value = "企业id")
    private Integer id;
    @ApiModelProperty(value = "企业名称")
    private String company;
    @ApiModelProperty(value = "企业所在地址")
    private String address;
    @ApiModelProperty(value = "企业联系电话")
    private String cellphone;
    @ApiModelProperty(value = "企业座机电话")
    private String telephone;
    @ApiModelProperty(value = "企业详细介绍信息")
    private String companyDesc;
    @ApiModelProperty(value = "企业法人")
    private String legalPerson;
    @ApiModelProperty(value = "企业创始人")
    private String founder;
    @ApiModelProperty(value = "企业规模")
    private String scale;
    @ApiModelProperty(value = "企业官网")
    private String homeLink;
    @ApiModelProperty(value = "企业经营范围")
    private String businessScope;
    @ApiModelProperty(value = "企业经营资质")
    private String qualification;
    @ApiModelProperty(value = "员工人数")
    private Integer workersNumber;
    @ApiModelProperty(value = "公司LOGO")
    private String logo;
    @ApiModelProperty(value = "企业生产的产品",hidden = true)
    private List<EnterpriseProduct> products;

    public Enterprise() {
    }

    public Enterprise(Integer id, String company, String address, String cellphone, String telephone, String companyDesc, String legalPerson, String founder, String scale, String homeLink, String businessScope, String qualification, Integer workersNumber, String logo, List<EnterpriseProduct> products) {
        this.id = id;
        this.company = company;
        this.address = address;
        this.cellphone = cellphone;
        this.telephone = telephone;
        this.companyDesc = companyDesc;
        this.legalPerson = legalPerson;
        this.founder = founder;
        this.scale = scale;
        this.homeLink = homeLink;
        this.businessScope = businessScope;
        this.qualification = qualification;
        this.workersNumber = workersNumber;
        this.logo = logo;
        this.products = products;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getCompanyDesc() {
        return companyDesc;
    }

    public void setCompanyDesc(String companyDesc) {
        this.companyDesc = companyDesc;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getFounder() {
        return founder;
    }

    public void setFounder(String founder) {
        this.founder = founder;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getHomeLink() {
        return homeLink;
    }

    public void setHomeLink(String homeLink) {
        this.homeLink = homeLink;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification;
    }

    public Integer getWorkersNumber() {
        return workersNumber;
    }

    public void setWorkersNumber(Integer workersNumber) {
        this.workersNumber = workersNumber;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public List<EnterpriseProduct> getProducts() {
        return products;
    }

    public void setProducts(List<EnterpriseProduct> products) {
        this.products = products;
    }

    @Override
    public String toString() {
        return "Enterprise{" +
                "id=" + id +
                ", company='" + company + '\'' +
                ", address='" + address + '\'' +
                ", cellphone='" + cellphone + '\'' +
                ", telephone='" + telephone + '\'' +
                ", companyDesc='" + companyDesc + '\'' +
                ", legalPerson='" + legalPerson + '\'' +
                ", founder='" + founder + '\'' +
                ", scale='" + scale + '\'' +
                ", homeLink='" + homeLink + '\'' +
                ", businessScope='" + businessScope + '\'' +
                ", qualification='" + qualification + '\'' +
                ", workersNumber=" + workersNumber +
                ", logo='" + logo + '\'' +
                ", products=" + products +
                '}';
    }
}
